export default function search(nums: number[], target: number): number {
    return nums.indexOf(target);
}
